﻿namespace Traffic.Entity;

public partial class UserVipInfo
{
    public int Id { get; set; }

    /// <summary>
    /// 用户ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 真实姓名
    /// </summary>
    public string RealName { get; set; } = null!;

    /// <summary>
    /// 身份证
    /// </summary>
    public string Idcard { get; set; } = null!;

    /// <summary>
    /// 联系方式
    /// </summary>
    public string Mobile { get; set; } = null!;

    /// <summary>
    /// 微信UNIONID
    /// </summary>
    public string WxUnionId { get; set; } = null!;

    /// <summary>
    /// vip等级ID
    /// </summary>
    public int VipId { get; set; }

    /// <summary>
    /// VIP等级
    /// </summary>
    public string VipLevel { get; set; } = null!;

    /// <summary>
    /// 销售人id  （线上小程序为0）
    /// </summary>
    public int SalesUserId { get; set; }

    /// <summary>
    /// 购买日期
    /// </summary>
    public DateTime CreateDate { get; set; }

    /// <summary>
    /// 用户积分数
    /// </summary>
    public int Bonus { get; set; }

    /// <summary>
    /// 上次续费时间
    /// </summary>
    public DateTime LastUpdate { get; set; }

    /// <summary>
    /// 到期时间
    /// </summary>
    public DateTime EndDate { get; set; }

    /// <summary>
    /// Vip状态 1正常 2过期  
    /// </summary>
    public int VipStatus { get; set; }

    /// <summary>
    /// 状态  正常  作废
    /// </summary>
    public bool Status { get; set; }
}
